package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/4
 * @desc 菜单分类表
 */

@Setter
@Getter
@Document
@ApiModel(value = "菜单分类表")
public class MenuCategoryT extends BaseDocument {

    /** 菜单Id */
    @ApiModelProperty(value = "菜单Id")
    private String menuId;

    /** 分类名称 */
    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    /** 父级Id */
    @ApiModelProperty(value = "父级Id")
    private String pid;

    /** 级别 */
    @ApiModelProperty(value = "级别")
    private int level;

    /** 分类数 */
    @ApiModelProperty(value = "分类数")
    private int count;
}
